package com.test.project.system.shiti.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import com.test.framework.aspectj.lang.annotation.Excel;
import com.test.framework.web.domain.BaseEntity;

/**
 * 试题管理对象 t_shiti
 * 
 * @author test
 * @date 2023-12-05
 */
public class TShiti extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** ID */
    private Long id;

    /** 章节 */
    @Excel(name = "问卷")
    private Long sectionId;

    /** 类型 */
    @Excel(name = "类型")
    private String type;

    /** 问题 */
    @Excel(name = "问题")
    private String title;

    /** 答案A */
    @Excel(name = "答案A")
    private String qa;

    /** 答案B */
    @Excel(name = "答案B")
    private String qb;

    /** 答案C */
    @Excel(name = "答案C")
    private String qc;

    /** 答案D */
    @Excel(name = "答案D")
    private String qd;

    /** 简答题答案 */
    @Excel(name = "简答题答案")
    private String qe;

    /** 选择题答案 */
    @Excel(name = "选择题答案")
    private String ans;
    
 

	public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setSectionId(Long sectionId)
    {
        this.sectionId = sectionId;
    }

    public Long getSectionId()
    {
        return sectionId;
    }
    public void setType(String type)
    {
        this.type = type;
    }

    public String getType()
    {
        return type;
    }
    public void setTitle(String title)
    {
        this.title = title;
    }

    public String getTitle()
    {
        return title;
    }
    public void setQa(String qa)
    {
        this.qa = qa;
    }

    public String getQa()
    {
        return qa;
    }
    public void setQb(String qb)
    {
        this.qb = qb;
    }

    public String getQb()
    {
        return qb;
    }
    public void setQc(String qc)
    {
        this.qc = qc;
    }

    public String getQc()
    {
        return qc;
    }
    public void setQd(String qd)
    {
        this.qd = qd;
    }

    public String getQd()
    {
        return qd;
    }
    public void setQe(String qe)
    {
        this.qe = qe;
    }

    public String getQe()
    {
        return qe;
    }
    public void setAns(String ans)
    {
        this.ans = ans;
    }

    public String getAns()
    {
        return ans;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("sectionId", getSectionId())
            .append("type", getType())
            .append("title", getTitle())
            .append("qa", getQa())
            .append("qb", getQb())
            .append("qc", getQc())
            .append("qd", getQd())
            .append("qe", getQe())
            .append("ans", getAns())
            .toString();
    }
}
